
@on: #D7251A;


.header {
    background: #FFFFFF;
    box-shadow: 0px 2px 21px 0px rgba(127, 127, 127, 0.19);
    position: fixed;
    top: 0;
    z-index: 20;
    width: 100%;
    .head {
        height: 60px;
        font-size: 16px;
        img {
            cursor: pointer;
        }
        .nav {
            width: 480px;
            li {
                cursor: pointer;
                position: relative;
                &::before {
                    content: '';
                    position: absolute;
                    top: 40px;
                    width: 100%;
                    height: 2px;
                }
                &.on::before {
                    background: @on;
                }
            }
        }
        .user {
            position: relative;
            &:hover .ul {
                display: block;
            }
            div {
                cursor: pointer;
            }
            span {
                margin: 0 4px
            }
            .avatar {
                height: 60px;
                img {
                    width: 34px;
                    height: 34px;
                    border-radius: 50%;
                    cursor: pointer;
                }
                
            }
            .ul {
                display: none;
                position: absolute;
                width: 90px;
                top: 50px;
                left: -30px;
                background: #fff;
                padding: 14px 0 4px;
                li {
                    text-indent: 10px;
                    cursor: pointer;
                    line-height: 30px;
                    color: #999;
                    font-size: 12px;
                    &:hover {
                        background: #EFEFEF;
                        color: #333;
                    }
                }
            }
        }
    }
    
}

.cls {
    position: absolute;
    top: 0;
    right: 10px;
    color: #909399;
    cursor: pointer;
    font-size: 30px;
}

.wrap {
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    top: 149px;
    width: 460px;
    .login {
        height: 550px;
        background: #fff;
        box-shadow: 0px 0px 13px 0px rgba(171, 171, 171, 0.35);
        padding: 50px 60px;
        box-sizing: border-box;
        .tabs {
            border-bottom: 1px solid #EEEEEE;
            div {
                color: #999;
                margin-right: 34px;
                font-size: 16px;
                padding-bottom: 24px;
                cursor: pointer;
                &.on {
                    color: #333;
                    border-bottom: 2px solid #333;
                }
            }
        }

        .form {
            padding-top: 50px;
            position: relative;
            .error {
                position: absolute;
                top: 4px;
                width: 100%;
                height: 40px;
                background: #FFE6E5;
                border: 1px solid #D46F16;
                border-radius: 5px;
                color: #666;
                img {
                    margin: 0 12px 0 21px;
                }
            }

            .input {
                margin-bottom: 20px;
                input {
                    display: block;
                    width: 100%;
                    height: 40px;
                    background: #F4F4F4;
                    border: 1px solid #DDDDDD;
                    border-radius: 5px;
                    text-indent: 12px;
                    &.err {
                        border-color: #D46F16;
                    }
                    &.code {
                        width: 200px;
                    }
                }
                .send {
                    width: 128px;
                    line-height: 40px;
                    background: #4E4E4E;
                    cursor: pointer;
                    color: #fff;
                    text-align: center;
                    background: #4E4E4E;
                    &.none {
                        cursor: not-allowed;
                        color: #999;
                        background: #F4F4F4;
                    }
                }
            }

            .submit {
                background: #eee;
                line-height: 42px;
                text-align: center;
                border-radius: 5px;
                cursor: not-allowed;
                color: #8C8C8C;
                margin-bottom: 20px;
                &.on {
                    background: @on;
                    color: #fff;
                    cursor: pointer;
                }
            }

            .gray {
                color: #999;
                .line {
                    margin: 0 8px;
                }
                .cur {
                    cursor: pointer;
                }
            }

            .wx {
                margin-top: 60px;
                .name {
                    text-align: center;
                    color: #999;
                    position: relative;
                    &::before {
                        content: '';
                        position: absolute;
                        top: 0;
                        left: 0;
                        bottom: 0;
                        margin: auto;
                        width: 38%;
                        height: 1px;
                        background:#DCDCDC;
                    }
                    &::after {
                        content: '';
                        position: absolute;
                        top: 0;
                        bottom: 0;
                        margin: auto;
                        right: 0;
                        width: 38%;
                        height: 1px;
                        background:#DCDCDC;
                    }
                }
                img {
                    display: block;
                    margin: 20px auto;
                    cursor: pointer;
                }
            }
        }
    }
}


.contain {
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    top: 109px;
    width: 560px;

    .register {
        height: 620px;
        background: #FFF;
        box-shadow: 0px 0px 13px 0px rgba(171, 171, 171, 0.35);
        .form {
            padding: 20px 60px 20px 30px;
            .item {
                margin-bottom: 20px;
                height: 40px;
                .label {
                    width: 100px;
                    text-align: right;
                }
                .error {
                    width: 336px;
                    height: 40px;
                    background: #FFE6E5;
                    border: 1px solid #D46F16;
                    border-radius: 5px;
                    color: #666;
                    img {
                        margin: 0 12px 0 21px;
                    }
                }

                .input {
                    width: 336px;
                    > input {
                        display: block;
                        width: 100%;
                        height: 40px;
                        background: #F4F4F4;
                        border: 1px solid #DDDDDD;
                        border-radius: 5px;
                        text-indent: 12px;
                        &.err {
                            border-color: #D46F16;
                        }
                        &.code {
                            width: 200px;
                        }
                    }
                    .send {
                        width: 128px;
                        line-height: 40px;
                        background: #4E4E4E;
                        cursor: pointer;
                        color: #fff;
                        text-align: center;
                        background: #4E4E4E;
                        &.none {
                            cursor: not-allowed;
                            color: #999;
                            background: #F4F4F4;
                        }
                    }
                    .rule {
                        margin-left: 10px;
                        span {
                            color: @on;
                            cursor: pointer;
                        }
                    }
                    .cas {
                        width: 100%;
                        input {
                            height: 40px;
                            background: #F4F4F4 !important;
                            border: 1px solid #DDDDDD !important;
                            border-radius: 5px;
                            box-shadow: none;
                        }
                    }
                }

                .submit {
                    width: 336px;
                    background: #eee;
                    line-height: 42px;
                    text-align: center;
                    border-radius: 5px;
                    cursor: not-allowed;
                    color: #8C8C8C;
                    margin-bottom: 20px;
                    &.on {
                        background: @on;
                        color: #fff;
                        cursor: pointer;
                    }
                }
            }
        }
    }

    .forget {
        height: 460px;
        background: #FFF;
        box-shadow: 0px 0px 13px 0px rgba(171, 171, 171, 0.35);
        .top {
            padding: 46px 0 20px;
            color: #999;
            font-size: 16px;
            border-bottom: 1px solid #eee;
            .on {
                color: #333;
            }
            img {
                margin: 0 20px;
            }
        }
        .form {
            padding-top: 76px;
            width: 336px;
            margin: auto;
            position: relative;
            .error {
                position: absolute;
                top: 20px;
                width: 100%;
                height: 40px;
                background: #FFE6E5;
                border: 1px solid #D46F16;
                border-radius: 5px;
                color: #666;
                img {
                    margin: 0 12px 0 21px;
                }
            }

            .input {
                margin-bottom: 20px;
                input {
                    display: block;
                    width: 100%;
                    height: 40px;
                    background: #F4F4F4;
                    border: 1px solid #DDDDDD;
                    border-radius: 5px;
                    text-indent: 12px;
                    &.err {
                        border-color: #D46F16;
                    }
                    &.code {
                        width: 200px;
                    }
                }
                .send {
                    width: 128px;
                    line-height: 40px;
                    background: #4E4E4E;
                    cursor: pointer;
                    color: #fff;
                    text-align: center;
                    background: #4E4E4E;
                    &.none {
                        cursor: not-allowed;
                        color: #999;
                        background: #F4F4F4;
                    }
                }
            }

            .submit {
                background: #eee;
                line-height: 42px;
                text-align: center;
                border-radius: 5px;
                cursor: not-allowed;
                color: #8C8C8C;
                margin-bottom: 20px;
                &.on {
                    background: @on;
                    color: #fff;
                    cursor: pointer;
                }
            }

        }
    }
}

.footer {
    height: 120px;
    background: #F7F7F7;
    color: #9FA0A0;
    margin-top: 30px;
    > div {
        height: 100%;
    }
}



